package org.example;

import org.example.config.Springconfig;

import org.example.service.BookService;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;



public class App {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext  context = new AnnotationConfigApplicationContext(Springconfig.class);
        BookService bookService = context.getBean(BookService.class);
        bookService.save();
    }
}
